package com.goodmr.passport.webapp.exception;

import com.goodmr.passport.webapp.enums.ErrorEnum;

/**
 * 业务异常
 *
 * @author <a href="mailto:bingdong13@msn.com">bigo</a>
 */
public class BadRequestException extends HttpException {

    private static final long serialVersionUID = -6878494448684317734L;

    public BadRequestException(int code, String message, Throwable cause) {
        super(code, message, cause);
    }

    public BadRequestException(ErrorEnum error, Throwable cause) {
        super(error, cause);
    }

    public BadRequestException(ErrorEnum error) {
        super(error);
    }
}
